﻿using System.ComponentModel.DataAnnotations;

namespace Md.Api.Model.Manage.SysUser.Request;
/// <summary>
/// 系统用户登录请求实体
/// </summary>
public class RequestSysUserLoginModel : RequestBaseModel
{
    /// <summary>
    /// 用户名
    /// </summary>
    [Required(ErrorMessage = "用户名不能为空")]
    public string? UserName { get; set; }
    /// <summary>
    /// 用户密码
    /// </summary>
    [Required(ErrorMessage = "用户密码不能为空")]
    public string? UserPwd { get; set; }
    /// <summary>
    /// 图形验证码Code
    /// </summary>
    [Required(ErrorMessage = "图形验证码不能为空")]
    public string? Code { get; set; }
    /// <summary>
    /// 图形验证码唯一标识
    /// </summary>
    [Required(ErrorMessage = "图形验证码唯一标识不能为空")]
    public string? Uuid { get; set; }
}

